package com.hnyc.goods.service;

import java.util.List;
import com.hnyc.goods.domain.GoodsOnline;

/**
 * goods-onlineService接口
 * 
 * @author zero
 * @date 2023-03-10
 */
public interface IGoodsOnlineService 
{
    /**
     * 查询goods-online
     * 
     * @param id goods-online主键
     * @return goods-online
     */
    public GoodsOnline selectGoodsOnlineById(Long id);

    /**
     * 查询goods-online列表
     * 
     * @param goodsOnline goods-online
     * @return goods-online集合
     */
    public List<GoodsOnline> selectGoodsOnlineList(GoodsOnline goodsOnline);

    /**
     * 新增goods-online
     * 
     * @param goodsOnline goods-online
     * @return 结果
     */
    public int insertGoodsOnline(GoodsOnline goodsOnline);

    /**
     * 修改goods-online
     * 
     * @param goodsOnline goods-online
     * @return 结果
     */
    public int updateGoodsOnline(GoodsOnline goodsOnline);

    /**
     * 批量删除goods-online
     * 
     * @param ids 需要删除的goods-online主键集合
     * @return 结果
     */
    public int deleteGoodsOnlineByIds(Long[] ids);

    /**
     * 删除goods-online信息
     * 
     * @param id goods-online主键
     * @return 结果
     */
    public int deleteGoodsOnlineById(Long id);
}
